package lambda;

import java.util.function.Predicate;

public class LambdaTest {
    public static void main(String[] args){
//        counter(System.out :: println);
        Predicate<Apple> p1 = Apple :: happy;
    }

    public static void counter(LambdaFunctionalInterface c){
           c.get("Winter is coming");
    }
}
